//
//  ComLabel.m
//  DZPoker
//
//  Created by Echo on 13-11-5.
//  Copyright (c) 2013年 Echo. All rights reserved.
//

#import "ComLabel.h"

@implementation ComLabel
+(ComLabel *)labelWithFont:(int)font title:(NSString*)title;
{
    // create label instance
    ComLabel *label = [[ComLabel alloc] init];
    label.textColor = [UIColor whiteColor];
    label.backgroundColor = [UIColor clearColor];
    label.font = [UIFont systemFontOfSize:font];
    label.text = title;
    return label;
}
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
